
package com.dps.omc.service.impl;
import com.dps.omc.dao.IJobReportDateDAO;
import com.dps.omc.model.JobReportDate;
import com.dps.omc.service.IJobReportDateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.dps.common.service.impl.AbstractPageService;

import java.util.Date;
import java.util.List;

@SuppressWarnings("unchecked")
@Service("JobReportDateServiceImpl")

public class JobReportDateServiceImpl extends AbstractPageService<IJobReportDateDAO,JobReportDate> implements IJobReportDateService {

	@Autowired
	private IJobReportDateDAO jobReportDateDAO;
	@Override
	public boolean getEnableDataPerm() {
		// TODO Auto-generated method stub
		return false;
	}
	@Override
	public IJobReportDateDAO getDao() {
		return jobReportDateDAO;
	}

	@Override
	public List<JobReportDate> queryByReportDate(Date queryStart, Date queryEnd) {
		return getDao().queryByReportDate(queryStart,queryEnd);
	}
}
